package com.leased.pojo;

import com.leased.request.BaseEntity;
import java.util.Date;

public class ZUsers extends BaseEntity {
    private Integer id;

    private String userName;

    private String password;

    private String phoneNumber;

    private String realName;

    private Date registerTime;

    private String companyName;

    private String companyAddress;

    private String companyPhone;

    private String companyIntroduce;

    private String operateName;

    private String wallet;

    private Integer pushItemNum;

    private String belongProvince;

    private String belongCity;

    private String belongCounty;

    private String startLine;

    private String destLine;

    private Integer guoxing;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber == null ? null : phoneNumber.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress == null ? null : companyAddress.trim();
    }

    public String getCompanyPhone() {
        return companyPhone;
    }

    public void setCompanyPhone(String companyPhone) {
        this.companyPhone = companyPhone == null ? null : companyPhone.trim();
    }

    public String getCompanyIntroduce() {
        return companyIntroduce;
    }

    public void setCompanyIntroduce(String companyIntroduce) {
        this.companyIntroduce = companyIntroduce == null ? null : companyIntroduce.trim();
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName == null ? null : operateName.trim();
    }

    public String getWallet() {
        return wallet;
    }

    public void setWallet(String wallet) {
        this.wallet = wallet == null ? null : wallet.trim();
    }

    public Integer getPushItemNum() {
        return pushItemNum;
    }

    public void setPushItemNum(Integer pushItemNum) {
        this.pushItemNum = pushItemNum;
    }

    public String getBelongProvince() {
        return belongProvince;
    }

    public void setBelongProvince(String belongProvince) {
        this.belongProvince = belongProvince == null ? null : belongProvince.trim();
    }

    public String getBelongCity() {
        return belongCity;
    }

    public void setBelongCity(String belongCity) {
        this.belongCity = belongCity == null ? null : belongCity.trim();
    }

    public String getBelongCounty() {
        return belongCounty;
    }

    public void setBelongCounty(String belongCounty) {
        this.belongCounty = belongCounty == null ? null : belongCounty.trim();
    }

    public String getStartLine() {
        return startLine;
    }

    public void setStartLine(String startLine) {
        this.startLine = startLine == null ? null : startLine.trim();
    }

    public String getDestLine() {
        return destLine;
    }

    public void setDestLine(String destLine) {
        this.destLine = destLine == null ? null : destLine.trim();
    }

    public Integer getGuoxing() {
        return guoxing;
    }

    public void setGuoxing(Integer guoxing) {
        this.guoxing = guoxing;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ZUsers other = (ZUsers) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName()))
            && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
            && (this.getPhoneNumber() == null ? other.getPhoneNumber() == null : this.getPhoneNumber().equals(other.getPhoneNumber()))
            && (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
            && (this.getRegisterTime() == null ? other.getRegisterTime() == null : this.getRegisterTime().equals(other.getRegisterTime()))
            && (this.getCompanyName() == null ? other.getCompanyName() == null : this.getCompanyName().equals(other.getCompanyName()))
            && (this.getCompanyAddress() == null ? other.getCompanyAddress() == null : this.getCompanyAddress().equals(other.getCompanyAddress()))
            && (this.getCompanyPhone() == null ? other.getCompanyPhone() == null : this.getCompanyPhone().equals(other.getCompanyPhone()))
            && (this.getCompanyIntroduce() == null ? other.getCompanyIntroduce() == null : this.getCompanyIntroduce().equals(other.getCompanyIntroduce()))
            && (this.getOperateName() == null ? other.getOperateName() == null : this.getOperateName().equals(other.getOperateName()))
            && (this.getWallet() == null ? other.getWallet() == null : this.getWallet().equals(other.getWallet()))
            && (this.getPushItemNum() == null ? other.getPushItemNum() == null : this.getPushItemNum().equals(other.getPushItemNum()))
            && (this.getBelongProvince() == null ? other.getBelongProvince() == null : this.getBelongProvince().equals(other.getBelongProvince()))
            && (this.getBelongCity() == null ? other.getBelongCity() == null : this.getBelongCity().equals(other.getBelongCity()))
            && (this.getBelongCounty() == null ? other.getBelongCounty() == null : this.getBelongCounty().equals(other.getBelongCounty()))
            && (this.getStartLine() == null ? other.getStartLine() == null : this.getStartLine().equals(other.getStartLine()))
            && (this.getDestLine() == null ? other.getDestLine() == null : this.getDestLine().equals(other.getDestLine()))
            && (this.getGuoxing() == null ? other.getGuoxing() == null : this.getGuoxing().equals(other.getGuoxing()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
        result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
        result = prime * result + ((getPhoneNumber() == null) ? 0 : getPhoneNumber().hashCode());
        result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
        result = prime * result + ((getRegisterTime() == null) ? 0 : getRegisterTime().hashCode());
        result = prime * result + ((getCompanyName() == null) ? 0 : getCompanyName().hashCode());
        result = prime * result + ((getCompanyAddress() == null) ? 0 : getCompanyAddress().hashCode());
        result = prime * result + ((getCompanyPhone() == null) ? 0 : getCompanyPhone().hashCode());
        result = prime * result + ((getCompanyIntroduce() == null) ? 0 : getCompanyIntroduce().hashCode());
        result = prime * result + ((getOperateName() == null) ? 0 : getOperateName().hashCode());
        result = prime * result + ((getWallet() == null) ? 0 : getWallet().hashCode());
        result = prime * result + ((getPushItemNum() == null) ? 0 : getPushItemNum().hashCode());
        result = prime * result + ((getBelongProvince() == null) ? 0 : getBelongProvince().hashCode());
        result = prime * result + ((getBelongCity() == null) ? 0 : getBelongCity().hashCode());
        result = prime * result + ((getBelongCounty() == null) ? 0 : getBelongCounty().hashCode());
        result = prime * result + ((getStartLine() == null) ? 0 : getStartLine().hashCode());
        result = prime * result + ((getDestLine() == null) ? 0 : getDestLine().hashCode());
        result = prime * result + ((getGuoxing() == null) ? 0 : getGuoxing().hashCode());
        return result;
    }
}